﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Resources;
using MapControl.NativeApi;
using System.IO;
using System.Reflection;

namespace MapControl
{
    public static class MarkersIcons
    {
        private static ResourceManager resourceManager;
        private static TransparentImage defaultMarker;

        public static TransparentImage DefaultMarker
        {
            get
            {
                return defaultMarker;
            }
        }

        static MarkersIcons()
        {
            resourceManager = new ResourceManager("MapControl.MarkersResources", typeof(MarkersResources).Assembly);
            defaultMarker = new TransparentImage((MemoryStream)Assembly.GetExecutingAssembly().GetManifestResourceStream(@"MapControl.Icons.marker.png"));
        }
    }
}
